package com.ruyuan.dependency.product.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhonghuashishan
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sku")
public class Sku implements Serializable {
    private static final long serialVersionUID = 5331346297783388415L;

    private Long id;

    private Long spuId;

    private String name;

    private Long price;

    private Long seckillingPrice;

    private Integer currentStock;

    private Integer lockedStock;

    private String image;

    private String images;

    private Date createTime;

    private Date updateTime;
}